﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QBS.Permiss
{
    [AttributeUsage(AttributeTargets.All, Inherited = true, AllowMultiple = true)]

    public class ModuleAttr : Attribute
    {
        private Module _module;
        public ModuleAttr(Module module) { this._module = module; }
        public Module module { get { return this._module; } }
    }
    public enum Module
    {
        无 = 0, 员工 = 11, 客户 = 12, 奖罚 = 13
    }
    public enum Permiss
    {
        Detail = 0, Create = 1, Modify = 2, Delete = 3, Verify = 4, Verify1 = 5, Verify2 = 6, Verify3 = 7
    }
}
